home *** CD-ROM | disk | FTP | other *** search
- Subject: bios_chmode() error & patch
- Date: Thu, 4 Aug 94 11:36:20 +0100
- From: Torsten Scherer <itschere@techfak.uni-bielefeld.de>
-
- Oops,
-
- looks like in 1.10h6 up to 1.10h8 the owner of a tty isn't allowed to
- change its mode, so that tools like `mesg' no longer work. When did this
- get erroneously into the code?
-
- ciao,
- TeSche
- --
- Torsten Scherer (TeSche, Schiller...), itschere@techfak.uni-bielefeld.de
- Faculty of Technology, University of Bielefeld, Germany, Europe, Earth...
- | Use any of "finger itschere@129.70.131.2-15" for adresses and more.|
- | Last updated: 31. July 1994|
-
- --- biosfs.c.origThu Aug 4 11:27:50 1994
- +++ biosfs.cThu Aug 4 11:27:46 1994
- @@ -552,7 +552,7 @@
- return 0;
- }
- } else if (!IS_FD_ENTRY(fc)) {
- -if (!curproc->euid && (curproc->euid == b->xattr.uid)) {
- +if (!curproc->euid || (curproc->euid == b->xattr.uid)) {
- b->xattr.mode = (b->xattr.mode & S_IFMT) | mode;
- return 0;
- }
-
-
-